Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unfatal Segfaults #9663

Merged
merged 1 commit into from
Jan 27, 2021
Merged

Unfatal Segfaults #9663

merged 1 commit into from
Jan 27, 2021

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Jan 27, 2021

Segfaults on emulation threads will not terminate RPCS3 anymore.

Utilities/Thread.cpp Show resolved Hide resolved
}

report_fatal_error(msg);
thread_ctrl::emergency_exit(msg);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend to be more careful with non-windows path. raise(SIGTRAP) was more tested than plain int3.

Copy link
Contributor Author

@elad335 elad335 Jan 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, remained unchanged for now. (until proper testing is done)

@Nekotekina
Copy link
Member

Well, I can't disagree that calling abort/terminate in these situations might be overkill.

@Nekotekina Nekotekina merged commit 28feea0 into RPCS3:master Jan 27, 2021
@elad335 elad335 deleted the unfatal branch March 2, 2021 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants